package server.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import server.business.pojo.ReturnBlood;

import java.util.List;

public interface ReturnBloodService extends IService<ReturnBlood> {


    IPage<ReturnBlood> getPage(int currentPage, int pageSize, ReturnBlood returnBlood);
    List<ReturnBlood> getAll();
    void deleteOne(String string);

    void addApplication(ReturnBlood returnBlood);
    Boolean wholeReturn(ReturnBlood returnBlood);
    Boolean partReturn(ReturnBlood returnBlood);
    void addBlood(String applyId,String bloodId);
    void approve(ReturnBlood returnBlood);
    void reject(ReturnBlood returnBlood);
}
